
import 'dart:ui';

import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

class ToastUtil{
   showToast(String msg){
     Fluttertoast.showToast(
         msg:msg,
         toastLength: Toast.LENGTH_SHORT,
         gravity: ToastGravity.CENTER,
         timeInSecForIosWeb: 1,
         backgroundColor: Color(0x90000000),
         textColor: Colors.white,
         fontSize: 16.0
     );
  }
}